cmake_minimum_required(VERSION 2.8.3)
project(riki_msgs)

find_package(catkin REQUIRED COMPONENTS message_generation std_msgs geometry_msgs)

add_message_files(
  DIRECTORY msg
  FILES
  Velocities.msg
  PID.msg
  Imu.msg
  Battery.msg
  DHT22.msg
  Servo.msg
  Infrared.msg
  Ultrasonic.msg
  Led.msg
  Buzzer.msg
  Arm.msg
  Sonar.msg
  RcMode.msg
)

## Generate services in the 'srv' folder
add_service_files(
  FILES
  ServoAngle.srv
)


generate_messages(DEPENDENCIES std_msgs geometry_msgs)

catkin_package(CATKIN_DEPENDS message_runtime std_msgs geometry_msgs)
